class Student:

    name = None

    def say_hello(self):

        """
        对于属性的操作
        :return: 返回当前打招呼的雨具
        """

        print(f"大家好啊，我的名称是：{self.name}")

    def say_hi(self):
        print(f"hello啊，我的名称是：{self.name}")

    def say_hay(self,msg):
        print(f"hello:{self.name},boy,消息是：{msg}")


stu = Student()
stu.name = 'guang'
stu.say_hi()
stu.say_hello()
print("============================")
stu = Student()
stu.name = 'li'
stu.say_hi()
stu.say_hello()
print("============================")
stu.say_hay("hello")



















